/*
  Copyright 2009 Smart Enterprise Solution Corp.
  Email: contact@ses.vn - Website: http://www.ses.vn
  KimNgan Project.
*/
using System;
using System.Data;
using System.Configuration;
using System.Collections;

using VINETLIFE.DAL;
using VINETLIFE.DO;
/// <summary>
/// Summary description for cmsOrderDetailsBL
/// </summary>
namespace VINETLIFE.BL 
{
    public class cmsOrderDetailsBL 
    {
    	#region Private Variables
		cmsOrderDetailsDAL objcmsOrderDetailsDAL;
		#endregion
		
        #region Public Constructors
        public cmsOrderDetailsBL()
        {
            //
            // TODO: Add constructor logic here
            //
            objcmsOrderDetailsDAL=new cmsOrderDetailsDAL();
        }
        #endregion       

        #region Public Methods
        public int Insert(cmsOrderDetailsDO objcmsOrderDetailsDO)
        {
            return objcmsOrderDetailsDAL.Insert(objcmsOrderDetailsDO);
        }

        public int Update(cmsOrderDetailsDO objcmsOrderDetailsDO)
        {
             return objcmsOrderDetailsDAL.Update(objcmsOrderDetailsDO);

        }

        public int Delete(cmsOrderDetailsDO objcmsOrderDetailsDO)
        {
             return objcmsOrderDetailsDAL.Delete(objcmsOrderDetailsDO);

        }

         public int DeleteAll()
        {
             return objcmsOrderDetailsDAL.DeleteAll();
        }

        public cmsOrderDetailsDO Select(cmsOrderDetailsDO objcmsOrderDetailsDO)
        {
            return objcmsOrderDetailsDAL.Select(objcmsOrderDetailsDO);
        }

        public ArrayList SelectAll1( )
        {
         return objcmsOrderDetailsDAL.SelectAll1();
        }
        
        public DataTable SelectAll( )
        {
         return objcmsOrderDetailsDAL.SelectAll();
        }


        public DataTable GetByOrderId(int OrderId)
        {
            return objcmsOrderDetailsDAL.GetByOrderId(OrderId);
        }
#endregion          
    
    }

}
